package com.woniu.adminservice.controller;

import com.woniu.adminservice.entity.ManagerAccount;
import com.woniu.adminservice.service.ManagerAccountService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("managerAccount")
public class ManagerAccountController {
    @Resource
    private ManagerAccountService managerAccountService;

    @GetMapping("selectOne")
    public ManagerAccount selectOne(Integer id) {
        return managerAccountService.queryById(id);
    }

}